import re

cl = [x for x in range(384)]
cl = [str(x) for x in cl]

for i in range(10):
    cl[i] = '00' + cl[i]
for i in range(10, 100):
    cl[i] = '0' + cl[i]
cl.remove('000')

# print(("de",cl))
# print(type(cl[0]))

'''
key = 
'''
##down_dir 是文件的名字
with open(down_dir, 'r', encoding='utf-8') as f:
    c = f.read()
nane_int = re.findall(' 第(.*?)章', c)
# print(nane_int)
cv = []
for i in cl:
    # print(int(i))
    if i in nane_int:
        pass
    else:
        cv.append(i)

if len(nane_int) == 383:
    print("True")
else:
    print("Error")
    print(len(nane_int))  # 2857 #383
    print("*" * 50)
    print(cv)
